#include <stdio.h>
int main(void){
    char a[10]="aceghjkln";
    char b[10]="bdfimopqr";
    int n=sizeof(a)/sizeof(a[0]);
    char* pa=a;
    char* pb=b;
    for(int i=0;i<(2*n)-2;i++){
        if(*pa < *pb && *pa != 0){
            printf("%c",*pa);
            pa++;
        }
        else{
            printf("%c",*pb);
            pb++;
        }
    }
    printf("\n");
}